﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" Src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" Src="~/_controltemplates/ToolBarButton.ascx" %>

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectObject.aspx.cs" Inherits="ParentChildLookup.Pages.SelectObject" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="ltPageTitle" runat="server" EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    <SharePoint:EncodedLiteral ID="ltPageTitleInTitle" runat="server" EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="ltPageDescription" runat="server" EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
            <td id="mngfieldToobar">
                <wssuc:toolbar id="onetidMngFieldTB" runat="server">
                    <template_buttons>
                        <span id="Span2" runat="server">
						    <asp:Label ID="lblType" AssociatedControlId="ddlType" runat="server" />
						    <asp:DropDownList id="ddlType" runat="server" AutoPostBack="true"> 
						    </asp:DropDownList>
					    </span>
				    </template_buttons>
                </wssuc:toolbar>
            </td>
        </tr>
        <asp:MultiView ID="mvTypes" runat="server" ActiveViewIndex="0">
            <asp:View ID="mvContentTypes" runat="server">
                <tr>
                    <td colspan="2">
                        <table width="100%" cellpadding="0" cellspacing="0" border="0" id="onetidMngCytpeRptrTable">
                            <colgroup>
                                <col width="33%" />
                                <col width="33%" />
                                <col width="33%" />
                            </colgroup>
                            <tr>
                                <th scope="col" id="ContentTypeHeader" class="ms-vh2-nofilter">
                                    &nbsp;&nbsp;&nbsp;<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="<%$Resources:wss,mngctype_HeadingCtype%>"
                                        EncodeMethod='HtmlEncode' />
                                </th>
                                <th scope="col" id="ParentTypeHeader" class="ms-vh2-nofilter">
                                    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="<%$Resources:wss,mngctype_HeadingParent%>"
                                        EncodeMethod='HtmlEncode' />
                                </th>
                                <th scope="col" id="SourceTypeHeader" class="ms-vh2-nofilter">
                                    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" Text="<%$Resources:wss,mngctype_HeadingSource%>"
                                        EncodeMethod='HtmlEncode' />
                                </th>
                            </tr>
                            <asp:Repeater ID="RptListOfContentTypes" runat="server">
                                <HeaderTemplate />
                                <ItemTemplate>
                                    <tr>
                                        <td class="ms-vb2">
                                            <a href='<%# DataBinder.Eval(Container.DataItem, "Href") %>' onclick='GoToLink(this);return false;'>
                                                <%# DataBinder.Eval(Container.DataItem, "Title") %>
                                            </a>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Group")%>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Source") %>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr class="ms-alternating">
                                        <td class="ms-vb2">
                                            <a href='<%# DataBinder.Eval(Container.DataItem, "Href") %>' onclick='GoToLink(this);return false;'>
                                                <%# DataBinder.Eval(Container.DataItem, "Title") %>
                                            </a>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Group")%>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Source")%>
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate />
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
            </asp:View>
            <asp:View ID="mvLists" runat="server">
                <tr>
                    <td colspan="2">
                        <table width="100%" cellpadding="0" cellspacing="0" border="0" id="Table1">
                            <colgroup>
                                <col width="33%" />
                                <col width="33%" />
                                <col width="33%" />
                            </colgroup>
                            <tr>
                                <th scope="col" id="Th1" class="ms-vh2-nofilter">
                                    &nbsp;&nbsp;&nbsp;<SharePoint:EncodedLiteral ID="ltListHeading" runat="server" EncodeMethod='HtmlEncode' />
                                </th>
                                <th scope="col" id="Th2" class="ms-vh2-nofilter">
                                    <SharePoint:EncodedLiteral ID="ltListDescription" runat="server" EncodeMethod='HtmlEncode' />
                                </th>
                                <th scope="col" id="Th3" class="ms-vh2-nofilter">
                                    <SharePoint:EncodedLiteral ID="ltListType" runat="server" EncodeMethod='HtmlEncode' />
                                </th>
                            </tr>
                            <asp:Repeater ID="RptListOfLists" runat="server">
                                <HeaderTemplate />
                                <ItemTemplate>
                                    <tr>
                                        <td class="ms-vb2">
                                            <a href='<%# DataBinder.Eval(Container.DataItem, "Href") %>' onclick='GoToLink(this);return false;'>
                                                <%# DataBinder.Eval(Container.DataItem, "Title") %>
                                            </a>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Description")%>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "ListType") %>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr class="ms-alternating">
                                        <td class="ms-vb2">
                                            <a href='<%# DataBinder.Eval(Container.DataItem, "Href") %>' onclick='GoToLink(this);return false;'>
                                                <%# DataBinder.Eval(Container.DataItem, "Title") %>
                                            </a>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "Description")%>
                                        </td>
                                        <td class="ms-vb2">
                                            <%# DataBinder.Eval(Container.DataItem, "ListType")%>
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate />
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
            </asp:View>
        </asp:MultiView>
    </table>
</asp:Content>
